{% extends 'news/base.html' %}
{% block titleBlock %}
    首页-新经资讯网
{% endblock %}
{% block scriptBlock %}
    <script type="text/javascript" src="../../static/news/js/index.js"></script>
{% endblock %}

{% block headerBlock %}
    <ul class="menu fl">
        {% for category in data.categories %}
        <li class="{% if loop.index0 == 0 %}active{% endif %}" data-cid="{{ category.id }}"><a href="javascript:;">{{ category.name }}</a></li>
        {% endfor %}

    </ul>
{% endblock %}
    
{% block contentBlock %}
    <ul class="list_con fl">
{#        <li>#}
{#            <a href="#" class="news_pic fl"><img src="{{ index_image_url }}"></a>#}
{#            <a href="#" class="news_title fl">{{ title }}</a>#}
{#            <a href="#" class="news_detail fl">{{ digest }}</a>#}
{#            <div class="author_info fl">#}
{#                <div class="author fl">#}
{#                    <img src="../../static/news/images/person.png" alt="author">#}
{#                    <a href="#">{{ source }}</a>#}
{#                </div>#}
{#                <div class="time fl">{{ create_time }}</div>#}
{#            </div>#}
{#        </li>#}
    </ul>
{% endblock %}